package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_chefduel2_finish_food", desc = "厨神对决2-合菜记录", autoSave = true, uploadCk = true, dataUpload = true, eventName = "cook_twosyn")
public class LogChefDuel2FinishFood extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "菜品id")
    private int userFoodId;
    @FieldTypeAnnotation(desc = "配置菜品id", dataAttribute = "item_id")
    private int foodId;
    @FieldTypeAnnotation(desc = "品质", dataAttribute = "quelity")
    private int quality;
    @FieldTypeAnnotation(desc = "变更状态", dataAttribute = "change_type")
    private int isGet;
    @FieldTypeAnnotation(desc = "阵营", dataAttribute = "belong_id")
    private int campId;
    @FieldTypeAnnotation(desc = "获得积分", dataAttribute = "after_score")
    private long score;
    @FieldTypeAnnotation(desc = "是否触发效果", dataAttribute = "is_special")
    private int touch;

    public LogChefDuel2FinishFood(int activityId, long userId, int userFoodId, int foodId, int quality, int isGet, int campId, long score, int touch) {
        this.activityId = activityId;
        this.userId = userId;
        this.userFoodId = userFoodId;
        this.foodId = foodId;
        this.quality = quality;
        this.isGet = isGet;
        this.campId = campId;
        this.score = score;
        this.touch = touch;
    }

    public long getUserId() {
        return userId;
    }
}
